/**
 * 
 */
package edu.ou.cs.youming.jaxb.types;

import javax.xml.bind.annotation.XmlElement;

/**
 * @author Youming Lin
 * 
 */
public final class Tweet {
	@XmlElement(name = "created_at")
	public String created_at;

	@XmlElement(name = "id")
	public long id;

	@XmlElement(name = "id_str")
	public String id_str;

	@XmlElement(name = "text")
	public String text;

	@XmlElement(name = "source")
	public String source;

	@XmlElement(name = "truncated")
	public boolean truncated;

	@XmlElement(name = "in_reply_to_status_id", nillable = true)
	public String in_reply_to_status_id;

	@XmlElement(name = "in_reply_to_status_id_str", nillable = true)
	public String in_reply_to_status_id_str;

	@XmlElement(name = "in_reply_to_user_id", nillable = true)
	public String in_reply_to_user_id;

	@XmlElement(name = "in_reply_to_user_id_str", nillable = true)
	public String in_reply_to_user_id_str;

	@XmlElement(name = "in_reply_to_screen_name", nillable = true)
	public String in_reply_to_screen_name;

	@XmlElement(name = "user")
	public User user;

	@XmlElement(name = "geo", nillable = true)
	public String geo;

	@XmlElement(name = "coordinates", nillable = true)
	public String coordinates;

	@XmlElement(name = "place", nillable = true)
	public String place;

	@XmlElement(name = "contributors", nillable = true)
	public String contributors;

	@XmlElement(name = "retweet_count")
	public int retweet_count;

	@XmlElement(name = "favorited")
	public boolean favorited;

	@XmlElement(name = "retweeted")
	public boolean retweeted;

	@XmlElement(name = "possibly_sensitive")
	public boolean possibly_sensitive;

	@Override
	public final String toString() {
		return "Tweet [created_at=" + created_at + ", id=" + id + ", id_str=" + id_str + ", text=" + text + ", source="
				+ source + ", truncated=" + truncated + ", in_reply_to_status_id=" + in_reply_to_status_id
				+ ", in_reply_to_status_id_str=" + in_reply_to_status_id_str + ", in_reply_to_user_id="
				+ in_reply_to_user_id + ", in_reply_to_user_id_str=" + in_reply_to_user_id_str
				+ ", in_reply_to_screen_name=" + in_reply_to_screen_name + ", user=" + user + ", geo=" + geo
				+ ", coordinates=" + coordinates + ", place=" + place + ", contributors=" + contributors
				+ ", retweet_count=" + retweet_count + ", favorited=" + favorited + ", retweeted=" + retweeted
				+ ", possibly_sensitive=" + possibly_sensitive + "]";
	}
}